package com.example.demo.mapper;

import com.example.demo.entity.DepartmentStep;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: WinstonDeng
 * @Description:
 * @Date: Created in 9:35 2020/4/8
 * @Modified by:
 */
public interface DepartmentStepMapper {
    List<DepartmentStep> findByDepartmentId(long departmentId);

    DepartmentStep findByDepartmentIdAndStepId(@Param("departmentId") long departmentId, @Param("stepId") long stepId);
}
